home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / python-apt / html / _sources / apt / debfile.txt < prev    next >
Encoding:
Text File  |  2009-03-30  |  1.1 KB  |  40 lines

  1. :mod:`apt.debfile` --- Classes related to debian package files
  2. ==============================================================
  3. The :mod:`apt.debfile` provides classes to work with locally available
  4. debian packages, or source packages.
  5.  
  6. .. module:: apt.debfile
  7.  
  8. Binary packages
  9. ----------------
  10. .. autoclass:: DebPackage
  11.     :members:
  12.     :inherited-members:
  13.     :undoc-members:
  14.  
  15.     The :class:`DebPackage` class is a class for working with '.deb' files,
  16.     also known as Debian packages.
  17.  
  18.     It provides methods and attributes to get a list of the files in the
  19.     package, to install the package and much more.
  20.  
  21.     If you specify *cache* it has to point to an :class:`apt.cache.Cache()`
  22.     object.
  23.  
  24.     .. versionchanged:: 0.7.9
  25.         Introduce all new methods (everything except for :meth:`open()` and
  26.         :attr:`filelist`)
  27.  
  28.  
  29. Source packages
  30. ----------------
  31. .. autoclass:: DscSrcPackage
  32.     :members:
  33.     :inherited-members:
  34.     :undoc-members:
  35.  
  36.     Provide functionality to work with locally available source packages,
  37.     especially with their '.dsc' file.
  38.  
  39.     .. versionadded:: 0.7.9
  40.